[]
        
(Showing Draft Content)

C1.Blazor.Core.C1Behavior-1

C1Behavior<T> Class

Base class for control behaviors.

Inheritance
C1Behavior<T>
Namespace: C1.Blazor.Core
Assembly: C1.Blazor.Core.dll
Syntax
public abstract class C1Behavior<T> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender where T : ComponentBase
Public MustInherit Class C1Behavior(Of T As ComponentBase)
    Inherits ComponentBase
    Implements IComponent, IHandleEvent, IHandleAfterRender
Type Parameters
Name Description
T

Constructors

Name Description
C1Behavior()

Properties

Name Description
AssociatedObject

Gets or sets the associated object.

Methods

Name Description
Attach(T)

Attaches the behavior to a ComponentBase.

Detach(T)

Detaches the behavior from the ComponentBase.

Dispose()
OnAttachedTo(T)

Called when the behavior is attached to the control.

OnDetachingFrom(T)

Called before the behavior is detached from the control.

OnInitialized()